import api from './index'

export const searchBrands = (brandName) => {
	const params = {
		brandName: brandName,
	}
	const url = `/vapi/supplier/brand/search`
	return api.get(url, params)
}

export const getBrand = (brandId) => {
	const params = {
		brandId: brandId,
	}
	const url = `/vapi/supplier/brand/select`
	return api.get(url, params)
}
